import request from '@/utils/request'
import type { Data } from "./interface/avocation";
const getAvocationsApi = (pageNum: number,pageSize: number) => {
    return request.get<null, Data>(
      `avocation/avocations/rec/user?pageNum=${pageNum}&pageSize=${pageSize}`
    );
}

export { getAvocationsApi };